<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		{% load i18n %}
		<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
		<title>{% block title %}{% trans SITE_NAME %}{% endblock %}</title>
        <link rel="stylesheet" href="{{MEDIA_URL}}theme/screen.css" type="text/css" title="Normal" media="screen"/>
        <link rel="shortcut icon" type="image/x-icon" href="{{MEDIA_URL}}theme/favicon.ico" />
        {% block extrahead %}{% endblock %}
	</head>

	<body id="{% block sectionid %}generic{% endblock %}" class="{% block coltype %}default{% endblock %}">
    <div><a id="top"> </a></div>
	<div id="root">
        <div id="topObj"></div>
		<div id="body_head">
			<h1 id="logo"><a href="{%url doc_trans-index%}" title="{% trans SITE_NAME %}"><span>{% trans SITE_NAME %}</span></a></h1>
            <ul id="nav-global">
				<li id="nav-homepage">
                    <a href="{%url doc_trans-index%}" {% block active_nav-homepage %}{% endblock %}>
                        {% trans "Home" %}
                    </a>
                </li>
				<li id="nav-documentation">
                    <a href="{%url doc_trans-docs-project-list%}"{% block active_nav-documentation %}{% endblock %}>
                        {% trans "Project list" %}
                    </a>
                </li>
				
				{%if user.is_authenticated%}
					<li id="nav-contributors">
	                    <a href="{%url doc_trans-trans-index%}">
	                        {% trans "Participate in" %}
	                    </a>
	                </li>
					<li>
	                    <a href="/accounts/logout/"}>
	                        {% trans 'Log out' %}
	                    </a>
	                </li>
				{%else%}
					<li id="nav-contributors">
	                    <a href="{%url auth_login%}" {% block active_nav-contributors %}{% endblock %}>
	                        {% trans "Login" %}
	                    </a>
	                </li>
					
					<li id="nav-contributors">
	                    <a href="/accounts/register/">
	                        {% trans "Sign up" %}
	                    </a>
	                </li>
					
				{%endif%}
				
				<li>
					<form action="{%url doc_trans-trans-setlang%}" method="post" style=";padding:26px 10px 0;">
					<input name="next" type="hidden" value="{{request.get_full_path}}" />
					<select name="language" onchange="this.form.submit();">
					{% for lang in LANGUAGES %}
					<option value="{{ lang.0 }}" {%ifequal LANGUAGE_CODE lang.0%}selected="selected"{%endifequal%}>{{ lang.1 }}</option>
					{% endfor %}
					</select>
					</form>
				</li>
				<!--
				<li id="nav-download">
                    <a href="/telechargement/"{% block active_nav-download %}{% endblock %}>
                        Téléchargement
                    </a>
                </li>
				
				<li id="nav-links">
                    <a href="/liens/"{% block active_nav-links %}{% endblock %}>
                        Liens
                    </a>
                </li>
				<li id="nav-participate">
                    <a href="/participer/"{% block active_nav-participate %}{% endblock %}>
                        Participer
                    </a>
                </li>
				<li id="nav-fortunes">
                    <a href="/fortunes/"{% block active_nav-fortunes %}{% endblock %}>
                        Fortunes
                    </a>
                </li>
				-->
			</ul>
		</div>
        <!-- END Header -->
		<div id="billboard">{% block billboard %}{% endblock %}</div>
		<div id="columnwrap">
			{% block columnwrap %}
				<div id="content-main">
				{% block content %}{% endblock %}
				</div>
				<!-- END #content-main -->
			{% endblock %}
            <div class="cale"></div>
		</div>
		<!-- END #content -->
		<div id="footer">
			<p>
               Copyright © 2009. All rights reserved. <a href="{%url doc_trans-index%}">{% trans SITE_NAME %}</a>  
            </p>
		</div>
	</div>
	<!-- END #container -->
   	
	</body>
</html>

